import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;

public class HelloWorldApplet extends Applet{
  static long time;
  public static void main(String[] args){
    FakeClass obj = new FakeClass();
    time = System.currentTimeMillis();
    Frame frame = new Frame("Roseindia.net");
    frame.setSize(400,200);
    Applet app = new HelloWorldApplet();
    frame.add(app);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter(){
      public void windowClosing(WindowEvent e){
        System.exit(0);
      }
    });
    app.stop();
  }
  public void paint(Graphics g){
    g.drawString("Hello World!" + time,200,100);
  }
}

